package com.dream.wukong.common.core.interfaces.email;

/**
 * @Author: wuyichao
 * @Description:
 * @Date: Created in 10:58 2018/9/18.
 * @Modified:
 */

import com.dream.wukong.common.core.interfaces.exception.GeneralRuntimeException;

/**
 * 邮件异常基类，与邮件服务相关的异常都应使用该异常或
 * 该异常的子类
 */
public class MailException extends GeneralRuntimeException {

    public MailException() {
        super();
    }

    public MailException(String errorCode, String[] nativeMessage) {
        super(errorCode, nativeMessage);
    }

    public MailException(String message, Throwable cause) {
        super(message, cause);
    }

    public MailException(String message) {
        super(message);
    }

    public MailException(Throwable cause, String errorCode,
                         String[] nativeMessage) {
        super(cause, errorCode, nativeMessage);
    }

    public MailException(Throwable cause) {
        super(cause);
    }

}
